package com.microinvest.service;
import com.microinvest.util.Result;
import org.springframework.stereotype.Service;

@Service
public interface AuthService {
    //用户登录方式1；
    Result<String> loginWithUsernamePasswordService(String userName, String password);
    //用户登录方式2；
    Result<String> sendEmailService(String email);
    //RedisTest;
    Result<String> verificationLoginCodeService(String email,String code);
}
